function Wrting_option() {
 var title=$("#siteTitle").val();
 var key=$("#siteMateKey").val();
 var content=$("#siteContent").val();
 var Notice1=$("#Notice1").val();
 var Notice2=$("#Notice2").val();
 console.log("title"+title+"key"+key+"content"+content+"gonggao1"+Notice1+"gonggao2"+Notice2);
 if(NotEmpty(title,key,content,Notice1,Notice2)){
    Popup.msg("禁止留空",{icon:5});
    return;
 }
 $.post("/CenterInc/view_inc/admin/Admin_option_inc.aspx",{title:title,key:key,content:content,Notice1:Notice1,Notice2:Notice2},function (data) {
    if(data["error"]!=undefined){
        Popup.msg(data["error"],{icon:5});
        return;
    }
    Popup.msg(data["msg"],{icon:1});
     setTimeout("window.parent.location.reload()",2000);
    return;
 });
}
function LoadReaderOption() {
    $.get("/option.json",function (data) {
        console.log(data);
        $("#siteTitle").val(data.title);
        $("#siteMateKey").val(data.key);
        $("#siteContent").val(data.content);
        $("#Notice1").val(data.notice1);
        $("#Notice2").val(data.notice2);

    });
}